<template>
  <div class="category">
    <h2>Category组件</h2>
  </div>
</template>

<script>
  export default {
    created() {
      console.log("Category组件被创建");
    },
    mounted() {
      console.log("Category组件被挂载了");
    },
    unmounted() {
      console.log("Category组件被销毁");
    },
    name: "category"
  }
</script>

<style scoped>
</style>